package com.o2o.model.user;

import java.util.Date;

import org.springframework.stereotype.Component;

import com.o2o.base.BaseModel;

@Component
public class Message extends BaseModel{

	/**
	 * 系统消息类
	 */
	private static final long serialVersionUID = -8261966970658967866L;
	
	private long id;
	
	private long messageSenderId;//发送消息的用户id
	
	private long messageArriverId;//收件用户id
	
	private String message;//详细信息
	
	private Date sendTime;//发送时间
	
	private int status;//发送状态，1为正常，0为删除
	
	private int messageIsRead;//信息是否读取，1为读取，0为未读取

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getMessageSenderId() {
		return messageSenderId;
	}

	public void setMessageSenderId(long messageSenderId) {
		this.messageSenderId = messageSenderId;
	}

	public long getMessageArriverId() {
		return messageArriverId;
	}

	public void setMessageArriverId(long messageArriverId) {
		this.messageArriverId = messageArriverId;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getMessageIsRead() {
		return messageIsRead;
	}

	public void setMessageIsRead(int messageIsRead) {
		this.messageIsRead = messageIsRead;
	}
	
	
	
	

}
